package com.iceframework.core.autoconfigure;

import java.util.Properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = ICEJwtProperties.ICE_PREFIX)
public class ICEJwtProperties {

	public static final String ICE_PREFIX = "web.jwt";

	private Properties properties = new Properties();

	public Properties getProperties() {
		return properties;
	}

	public String getTokenHeader() {
		return properties.getProperty("token-header");
	}

	public void setTokenHeader(String tokenHeader) {
		properties.setProperty("token-header", tokenHeader);
	}
}
